function ccav(age: number): string {

    return '找到了' + age + '年大的'
}

var age: number = 18

let res: string = ccav(age)
console.info(res)

function ccav2(age:number,stature?:string):string{
    let yy:string = ''
    yy =  '找到了'+age+'年的'
    if(stature !=undefined){
        yy = yy + stature
    }
    return yy
}
var res2:string = ccav2(22) 
var res3:string = ccav2(22,'小娘皮')
console.info(res2,res3)


function searchXiaoJieJie2(age:number=18,stature:string='大胸'):string{

    let yy:string = ''
    yy = '找到了'+age+'岁'
    if(stature !=undefined){
        yy = yy + stature
    }
    return yy+'的小姐姐'

}
var result:string  =  searchXiaoJieJie2()
console.log(result)
function searchXiaoJieJie3(...xuqiu:string[]):string{
    
    let  yy:string = '找到了'
    for (let i =0;i<xuqiu.length;i++){
        yy = yy + xuqiu[i]
        if(i<xuqiu.length){
            yy=yy+'、'
        }
    }
    yy=yy+'的小姐姐'
    return yy

}
var result:string  =  searchXiaoJieJie3('22岁','大长腿','瓜子脸','水蛇腰')
console.log(result)